var BASE_URL_API = "/api";

//公司
var BASE_URL_COMPANY = BASE_URL_API + "/organizations";
var BASE_URL_COMPANY_CRUD = BASE_URL_COMPANY;
var BASE_URL_COMPANY_SEARCH = BASE_URL_COMPANY + "/search";
//领域
var BASE_URL_FIELD = BASE_URL_API + "/fields";
var BASE_URL_FIELD_CRUD = BASE_URL_FIELD;
var BASE_URL_FIELD_SEARCH = BASE_URL_FIELD + "/search";
//节点信息
var BASE_URL_KETTLE_SLAVE_SERVER = BASE_URL_API + "/kettleSlaveServers";
var BASE_URL_KETTLE_SLAVE_SERVER_CRUD = BASE_URL_KETTLE_SLAVE_SERVER;
var BASE_URL_KETTLE_SLAVE_SERVER_SEARCH = BASE_URL_KETTLE_SLAVE_SERVER + "/search";
//节点日志
var BASE_URL_SLAVE_SERVER_LOG = BASE_URL_API + "/slaveServerLogs";
var BASE_URL_SLAVE_SERVER_LOG_CRUD = BASE_URL_SLAVE_SERVER_LOG;
var BASE_URL_SLAVE_SERVER_LOG_SEARCH = BASE_URL_SLAVE_SERVER_LOG + "/search";

//节点统计
var BASE_URL_SLAVE_SERVER_STATISTICS = BASE_URL_API + "/slaveServiceStatistics";
var BASE_URL_SLAVE_SERVER_STATISTICS_CRUD = BASE_URL_SLAVE_SERVER_STATISTICS;
var BASE_URL_SLAVE_SERVER_STATISTICS_SEARCH = BASE_URL_SLAVE_SERVER_STATISTICS + "/search";


//领域系统
var BASE_URL_FIELD_SYSTEM = BASE_URL_API + "/fieldSystems";
var BASE_URL_FIELD_SYSTEM_CRUD = BASE_URL_FIELD_SYSTEM;
var BASE_URL_FIELD_SYSTEM_SEARCH = BASE_URL_FIELD_SYSTEM + "/search";

var BASE_URL_KETTLE_DATASOURCE = BASE_URL_API + "/kettleDataSourceExes";
var BASE_URL_KETTLE_DATASOURCE_CRUD = BASE_URL_KETTLE_DATASOURCE;
var BASE_URL_KETTLE_DATASOURCE_SEARCH = BASE_URL_KETTLE_DATASOURCE + "/search";

var BASE_URL_KETTLE_DATABASE_TYPE = BASE_URL_API + "/kettleDatabaseTypes";
var BASE_URL_KETTLE_DATABASE_TYPE_CRUD = BASE_URL_KETTLE_DATABASE_TYPE;
var BASE_URL_KETTLE_DATABASE_TYPE_SEARCH = BASE_URL_KETTLE_DATABASE_TYPE + "/search";

//领域服务监控
var BASE_URL_FIELD_SERVICE_MONITOR = BASE_URL_API + "/fieldServiceMonitor";
var BASE_URL_FIELD_SERVICE_MONITOR_SEARCH = BASE_URL_FIELD_SERVICE_MONITOR + "/search";


//接口调度
var BASE_URL_INTERFACE_SCHEDULE= BASE_URL_API + "/interfaceSchedules";
var BASE_URL_INTERFACE_SCHEDULE_CRUD = BASE_URL_INTERFACE_SCHEDULE;
var BASE_URL_INTERFACE_SCHEDULE_SEARCH = BASE_URL_INTERFACE_SCHEDULE + "/search";
//系统接口
var BASE_URL_SYSTEM_INTERFACE= BASE_URL_API + "/systemInterfaces";
var BASE_URL_BASE_URL_SYSTEM_INTERFACE_CRUD = BASE_URL_SYSTEM_INTERFACE;
var BASE_URL_SYSTEM_INTERFACE_SEARCH = BASE_URL_SYSTEM_INTERFACE + "/search";
//dblink
var BASE_URL_DBLINK_MANAGE= BASE_URL_API + "/dBlinks";
var BASE_URL_DBLINK_MANAGE_CRUD = BASE_URL_DBLINK_MANAGE;
var BASE_URL_DBLINK_MANAGE_SEARCH = BASE_URL_DBLINK_MANAGE + "/search";
//dblink接口
var BASE_URL_DBLINK_INTERFACE= BASE_URL_API + "/dBlinkInterfaces";
var BASE_URL_DBLINK_INTERFACE_CRUD = BASE_URL_DBLINK_INTERFACE;
var BASE_URL_DBLINK_INTERFACE_SEARCH = BASE_URL_DBLINK_INTERFACE + "/search";
//dblink数据源
var BASE_URL_DBLINK_DATA_SOURCE= BASE_URL_API + "/dBlinkDataSources";
var BASE_URL_DBLINK_DATA_SOURCE_CRUD = BASE_URL_DBLINK_DATA_SOURCE;
var BASE_URL_DBLINK_DATA_SOURCE_SEARCH = BASE_URL_DBLINK_DATA_SOURCE + "/search";
//接口历史执行情况
var BASE_URL_INTERFACE_HISTORY= BASE_URL_API + "/interfaceHistories";
var BASE_URL_INTERFACE_HISTORY_CRUD = BASE_URL_INTERFACE_HISTORY;
var BASE_URL_INTERFACE_HISTORY_SEARCH = BASE_URL_INTERFACE_HISTORY + "/search";
//接口版本历史
var BASE_URL_INTERFACE_VERSION_HISTORY= BASE_URL_API + "/interfaceVersionHistories";
var BASE_URL_INTERFACE_VERSION_HISTORY_CRUD = BASE_URL_INTERFACE_VERSION_HISTORY;
var BASE_URL_INTERFACE_VERSION_HISTORY_SEARCH = BASE_URL_INTERFACE_VERSION_HISTORY + "/search";
//系统用户日志
var BASE_URL_USER_LOG= BASE_URL_API + "/userLogs";
var BASE_URL_USER_LOG_CRUD = BASE_URL_USER_LOG;
var BASE_URL_USER_LOG_SEARCH = BASE_URL_USER_LOG + "/search";
//历史接口执行情况查询
var BASE_URL_HISTORY_INTERFACE= BASE_URL_API + "/interfaceExecutionResults";
var BASE_URL_HISTORY_INTERFACE_CRUD = BASE_URL_HISTORY_INTERFACE;
var BASE_URL_HISTORY_INTERFACE_SEARCH = BASE_URL_HISTORY_INTERFACE + "/search";
//接口调度历史情况
var BASE_URL_INTERFACE_SCHEDULE_RESULT= BASE_URL_API + "/interfaceScheduleResults";
var BASE_URL_INTERFACE_SCHEDULE_RESULT_SEARCH = BASE_URL_INTERFACE_SCHEDULE_RESULT + "/search";
//系统资源库
var BASE_URL_SYSTEM_SOURCE= BASE_URL_API + "/systemSources";
var BASE_URL_SYSTEM_SOURCE_CRUD = BASE_URL_SYSTEM_SOURCE;
var BASE_URL_SYSTEM_SOURCE_SEARCH = BASE_URL_SYSTEM_SOURCE + "/search";

//用户管理
var BASE_URL_USER= BASE_URL_API + "/users";
var BASE_URL_USER_CRUD = BASE_URL_USER;
var BASE_URL_USER_SEARCH = BASE_URL_USER + "/search";

//组织结构
var BASE_URL_ORGANIZATION = BASE_URL_API + "/organization";

//导出
var BASE_URL_EXPORTDATA = BASE_URL_API + "/exportDatas";
var BASE_URL_EXPORTDATA_FILE = BASE_URL_EXPORTDATA + "/file"; 

//主界面
var BASE_URL_MAIN_PAGE = BASE_URL_API + "/mainPage";
var BASE_URL_MAIN_PAGE_SEARCH = BASE_URL_MAIN_PAGE + "/search";

//用户角色
var BASE_URL_ROLES = BASE_URL_API + "/roles";
var BASE_URL_ROLES_CRUD = BASE_URL_ROLES;
var BASE_URL_ROLES_SEARCH = BASE_URL_ROLES + "/search";

//权限
var BASE_URL_PERMISSION = BASE_URL_API + "/permissions";
var BASE_URL_PERMISSION_SEARCH = BASE_URL_PERMISSION + "/search";

//Kettle作业
var BASE_URL_KETTLE_JOB = BASE_URL_API + "/kettleJob";

//参数设置
var BASE_URL_PARAM_SETTING= BASE_URL_API + "/paramSettings";

var BASE_URL_SLAVE_SERVER_LOGS = BASE_URL_API + "/slaveServerLogs";
var BASE_URL_SLAVE_SERVER_LOGS_CRUD = BASE_URL_SLAVE_SERVER_LOGS;
var BASE_URL_SLAVE_SERVER_LOGS_SEARCH = BASE_URL_SLAVE_SERVER_LOGS + "/search";

var BASE_URL_TREE= BASE_URL_API + "/tree";

var BASE_URL_DATE = Date.parse(new Date());

//鏈接oracle
var BASE_URL_ORACLE = BASE_URL_API + "/connectOracles";
// 数据字典的值列表
var BASE_URL_DATA_DICTIONARY_VALUE = BASE_URL_API + "/dataDictionaryValues";
var BASE_URL_DATA_DICTIONARY_VALUE_SEARCH = BASE_URL_DATA_DICTIONARY_VALUE + "/search";

// 数据字典-类型编码
var DDTC_KETTLE_JOB_EXEC_SERVER_TYPE = "10001";	// 执行服务器
var DDTC_KETTLE_JOB_INTERFACE_SCENE = "10002";	// 接口场景
var DDTC_COMPANY = "10003";	// 公司
var DDTC_DEPART = "10005";	// 部门
var DDTC_DATABASE_TYPE = "10006";	// 数据库种类
var DDTC_USER_OPERATION = "10007";	// 系统用户操作日志
var DDTC_KETTLE_JOB_SCHEDULE_CYCLE_UNIT = "10008";	// 接口调度周期单位
var DDTC_USER_AUTHORIZE_STATUS = "10009";	// 授权状态
var DDTC_USER_LOGIN_STATUS = "10010";	// 登录状态
var DDTC_EMAIL_TYPE = "10011";	// 邮箱类型
var DDTC_KETTLE_JOB_TECH_STANDARD = "10013";	// 技术标准
var DDTC_KETTLE_JOB_SCHEDULE_STATUS = "10014";	// 调度执行结果类型
var DDTC_KETTLE_JOB_EXEC_STATUS = "10015";	// 作业执行结果类型
var DDTC_DATATYPE ="10017";//数据类型
var DDTC_OPERATION = "10018"; //操作
var DDTC_ERROR_EMAIL_SEND_TYPE = "10019";//异常发送邮件类型

//二期数据字典-类型编码
var DDTC_BUNDLE_MODE = "20001"; //bundle模式
var DDTC_INTERFACE_DATA_FORMAT = "20002"; //接口数据格式
var DDTC_PARAMETER_TYPE = "20003"; //参数类型
var DDTC_IS_PUBLIC = "20004"; //是否公开
var DDTC_AUTHENTICATION_MODE = "20005"; //认证方式
var DDTC_INTERFACE_STATUS = "20006"; //接口状态
var DDTC_INTERFACE_ISENABLE = "20007"; //接口是否可用
var DDTC_SOAP_PROTOCOL = "20008"; //SOAP协议
var DDTC_TOKEN_STATUS ="20009";//接口令牌状态
var DDTC_REQUEST_RESULT ="20010";//请求结果
var DDTC_LOG_LEVEL ="20011";//日志级别
var DDTC_OPERATION_TYPE = "20016";//接口操作类型
var DDTC_INTERFACE_TYPE ="20013";//接口类型
var DDTC_ALARM_TYPE ="20014";//告警类型
var DDTC_ALARM_LEVEL ="20015";//告警级别
var DDTC_PERIOD_TYPE ="20018";//时间周期

//二期api

//资源管理
var BASE_URL_WSDL_META_DATA = BASE_URL_API + "/wsdlMetaDatas";
var BASE_URL_WSDL_META_DATA_CRUD = BASE_URL_WSDL_META_DATA;
var BASE_URL_WSDL_META_DATA_SEARCH = BASE_URL_WSDL_META_DATA + "/search";
//异常错误码设置
var BASE_URL_EXCEPTION_ERROR_CODE_SETTING = BASE_URL_API + "/exceptionErrorCodeSettings"
var BASE_URL_EXCEPTION_ERROR_CODE_SETTING_CRUD = BASE_URL_EXCEPTION_ERROR_CODE_SETTING;
var BASE_URL_EXCEPTION_ERROR_CODE_SETTING_SEARCH = BASE_URL_EXCEPTION_ERROR_CODE_SETTING + "/search";
//地址映射管理
var BASE_URL_ADDRESS_MAPPING = BASE_URL_API + "/https";
var BASE_URL_ADDRESS_MAPPING_CRUD = BASE_URL_ADDRESS_MAPPING;
var BASE_URL_ADDRESS_MAPPING_SEARCH = BASE_URL_ADDRESS_MAPPING + "/search";

//HTTP接口
var BASE_URL_HTTP_INTERFACE= BASE_URL_API + "/https";
var BASE_URL_BASE_URL_HTTP_INTERFACE_CRUD = BASE_URL_HTTP_INTERFACE;
var BASE_URL_HTTP_INTERFACE_SEARCH = BASE_URL_HTTP_INTERFACE + "/search";

//HTTP接口
var BASE_URL_INTERFACE_TOKEN= BASE_URL_API + "/interfaceTokens";
var BASE_URL_INTERFACE_TOKEN_CRUD = BASE_URL_INTERFACE_TOKEN;
var BASE_URL_INTERFACE_TOKEN_SEARCH = BASE_URL_INTERFACE_TOKEN + "/search";

//FTPLog日志api
var BASE_URL_FTP_LOG= BASE_URL_API + "/ftpLogs";
var BASE_URL_FTP_LOG_CRUD = BASE_URL_FTP_LOG;
var BASE_URL_FTP_LOG_SEARCH = BASE_URL_FTP_LOG + "/search";

//SOCKETLog日志api
var BASE_URL_SOCKET_LOG= BASE_URL_API + "/socketLogs";
var BASE_URL_SOCKET_LOG_CRUD = BASE_URL_SOCKET_LOG;
var BASE_URL_SOCKET_LOG_SEARCH = BASE_URL_SOCKET_LOG + "/search";

//服务告警明细
var BASE_URL_INTERFACE_ALARM_HIS = BASE_URL_API + "/interfaceWarningHises";
var BASE_URL_INTERFACE_ALARM_HIS_CRUD = BASE_URL_INTERFACE_ALARM_HIS;
var BASE_URL_INTERFACE_ALARM_HIS_SEARCH = BASE_URL_INTERFACE_ALARM_HIS + "/search";

//接口参数明细
var BASE_URL_INTERFACE_PARAMETER= BASE_URL_API + "/interfaceParameters";
var BASE_URL_BASE_URL_INTERFACE_PARAMETER_CRUD = BASE_URL_INTERFACE_PARAMETER;
var BASE_URL_INTERFACE_PARAMETER_SEARCH = BASE_URL_INTERFACE_PARAMETER + "/search";

//节点管理
var BASE_URL_NODE_CLUSTER = BASE_URL_API + "/clusterNodes";
var BASE_URL_NODE_CLUSTER_CRUD = BASE_URL_NODE_CLUSTER;
var BASE_URL_NODE_CLUSTER_SEARCH = BASE_URL_NODE_CLUSTER + "/search";

//存储转发
var BASE_URL_STORE_FORWARD = BASE_URL_API + "/storeForwards";
var BASE_URL_STORE_FORWARD_CRUD = BASE_URL_STORE_FORWARD;
var BASE_URL_STORE_FORWARD_SEARCH = BASE_URL_STORE_FORWARD + "/search"


